﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////


#pragma once
#include "IExternalObject.h"
#include "NdbDataSchema.h"
#include "ElementCreationOptions.h"

namespace gcmp
{
    class IDocument;

    /// \brief 引线标注对象并显示
    class GCMP_MODEL_INTERFACE_EXPORT ILeadLineAnnotation : public IExternalObject
    {
        DECLARE_CLASS_WITHOUT_DATA_MEMBERS(gcmp, ILeadLineAnnotation, gcmp::IExternalObject, 8C581382 - 98A5 - 4C72 - B9D1 - 18975FA4A2A3, gcmpmodelinterface);
    public:
        /// \brief 析构函数。
        virtual ~ILeadLineAnnotation();
    public:
        /// \brief 创建 ILeadLineAnnotation 对象
        ///
        /// \param pDocument 在此文档中创建
        /// \param eco 元素创建选项
        /// \return 创建的 ILeadLineAnnotation 对象
        static ILeadLineAnnotation* Create(IDocument* pDocument, const Vector3d startPt, const Vector3d secondPt, const std::wstring content
            , ElementCreationOptions eco = ElementCreationOptions::Transient);
    };
}



